package com.xb.loan.admin.service.system.impl;

import com.xb.loan.admin.dao.system.OssMenuDao;
import com.xb.loan.admin.service.system.OssMenuServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Service("ossMenuServer")
public class OssMenuServiceImpl implements OssMenuServer {

    @Autowired
    OssMenuDao ossMenuDao;


	@Override
	public List<Map<String, Object>> queryOssMenuByParentMenuId(String parentMenuId,String roleId) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("parentMenuId", parentMenuId);
		map.put("roleId", roleId);
		return ossMenuDao.queryOssMenuByParentMenuId(map);
	}

}
